﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace kysec.RAL.EFToMySql
{
    public class LoginModel
    {
        public string username { get; set; }
        public string password { get; set; }
        public int pop { get; set; }
        public bool onLine { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public LoginModel()
        {

        }
        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="username">用户名</param>
        /// <param name="password">密码</param>
        /// <param name="pop">权限</param>
        public LoginModel(string username,string password,int pop,bool onLine)
        {
            this.username = username;
            this.password = password;
            this.pop = pop;
            this.onLine = onLine;
        }
    }
}
